<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <script type="text/javascript" src="../js/yhang.js">
        </script>
        <title>yhang demo</title>
    </head>
    <body>
        <script type="text/javascript">
        	var j = {
				'a': 'array',
				'f': 'function',
				'j': 'json'
			};
			alert(yhang.search(j, function(k, v){
				if(v == 'function') return k;
			}));
			alert(yhang.indexOf(j,'json'));
        </script>
    </body>
</html>
